bug #3300: Fix oneuser login for ruby 1.8.7