They specifically allow accounts to be created for whitehat purposes at https://www.facebook.com/whitehat/accounts/
"Please use a test account instead of a real account when investigating security vulnerabilities. When you are unable to reproduce a security vulnerability with a test account, it is acceptable to use a real account, except for automated testing."