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).