Bug fix in registration using invitation code #4641

http://sentry.openlabs.co.in/default/my-openlabs-production/group/2862/
Merge pull request #96 from priyankarani/task-4641

Bug fix in registration using invitation code #4641