Update my_authentication.rb

Changed detecting header to be more readable, removed (unintentional?) true statement at the end of valid? (which will always yield that CustomStrategy is valid, no matter what the input.
Merge pull request #1 from joarb/patch-1

Update my_authentication.rb