Bug Fixed: BUG-0317

Fixed Bug 0317: Login issue: exception