Fixed a bug in the custom MembershipProvider