Problems creating my own SSO Provider - C#