If the home directory entry is empty, then its not a valid OpenShift user.
Merge pull request #2990 from rmillner/pam_namespace_bug

Merged by openshift-bot
Assign default gear size if not specified in applications_controller.rb
Merge pull request #2991 from pravisankar/dev/ravi/bug980708

Merged by openshift-bot