Moved the CSPRNG invocation from TryLogin to Util.