How to bypass apple id login on iphone 5 ios 7.1?

Don't remember the email or password

Without the email or password it's impossible. It's used to combat theft of iOS devices (not saying you stole it) so you NEED the original login.

You can reset your ID or password: http://www.justtext.com/messageboards/20140127092428.html If its not yours then Jacob is right, you won't be getting past it. (You won't even be able to turn it on because find my iphone will notify the owner of its location).