Added a temporary workaround for an exception thrown in a login callback...

....