fixing random issues with spring config and handling auth/registration with scrypt better