Preventing duplicate accounts in different studies (Stormpath directories)

must lower-case the email for the lock