Use SecureRandom instead of Random to generate app secret
Remove SecureRandom test case as it's non-portable
Merge pull request #189 from metacity/develop

Use SecureRandom instead of Random to generate the app secret