Profile2_path form_alter - Anonymous user form - access denied problem
I set devel module permissions of 'Access developer information' to anonymous user . 
Make sure to disable this module on a production site.